//
//  IGActivityMuseumCollectionCell.m
//  jingdongfang
//
//  Created by boectoswteam on 2018/5/14.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "IGActivityMuseumCollectionCell.h"

@implementation IGActivityMuseumCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.MuseumImageV.backgroundColor = [UIColor lightGrayColor];
    self.MuseumImageV.layer.cornerRadius = 25;
    self.MuseumImageV.layer.masksToBounds = YES;
    self.backgroundColor = [UIColor whiteColor];
    self.IndicateImagev.image = [UIImage imageNamed:@"indicate_museum"];
}

-(void)setModel:(IGActivityDetailModel *)model{
    self.MuseumName.text = model.orgNike;
    [self.MuseumImageV sd_setImageWithURL:[NSURL URLWithString:model.orgImage]];
    self.ProductAndFans.text = [NSString stringWithFormat:@"作品%@   粉丝%@",model.worksNum!=nil?model.worksNum:@"0",model.fansNum!=nil?model.fansNum:@"0"];
}

@end
